import request from '@/utils/request'

export function addBuildingSiteBill(data) {
  return request({
    url: 'api/BuildingSiteBill/Add',
    method: 'post',
    data
  })
}

export function updBuildingSiteBill(data) {
  return request({
    url: 'api/BuildingSiteBill/Upd',
    method: 'post',
    data
  })
}

export function getBuildingSiteBill(data) {
  return request({
    url: 'api/BuildingSiteBill/Get',
    method: 'post',
    data
  })
}

export function delBuildingSiteBill(id) {
  return request({
    url: 'api/BuildingSiteBill/Del',
    method: 'post',
    params: {
      id
    }
  })
}

export function returnBackBuildingSiteBill(data) {
  return request({
    url: 'api/BuildingSiteBill/ReturnBack',
    method: 'post',
    data
  })
}
